package org.trinity.netdisk.service;

import org.trinity.netdisk.entity.User;

public interface IUserService {
    String login(User user);
    void register(User user,String verCode);
    boolean isExistUsername(String username);
    boolean isExistEmail(String email);
    void sendVerificationCode(String email);
    void sendResetPasswdVerificationCode(String email);
    void resetPasswd(String email, String password, String verCode);
}
